package com.lc.tgxm.conn;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * 短信 验证码
 * Created by Lei on 2018/4/18.
 */
@HttpInlet(Conn.URL_SMS)
public class SmsAsyPost extends BaseAsyPost<String> {
    public String phone;
    public String id;


    public SmsAsyPost(AsyCallBack<String> asyCallBack) {
        super(asyCallBack);
    }

    @Override
    protected String successParser(JSONObject object) {
        return object.optString("data");
    }

}